# -*- encoding: utf-8 -*-
"""
File Name: zabbix_alarm_manager
Description:
Author : 'lirui'
date: 2024/1/16
Contact: marjey_lee@163.com
Change Activity:
2024/1/16:
"""
from projects.monitoring.alarm_manager.modules.alarm_handle.AlarmHandler import AlarmHandler
from projects.monitoring.alarm_manager.utils.format.impl.branch_dedicated_line_alarm_format import BranchDedicatedLineAlarmFormat


class BranchDedicatedLineAlarmHandler(AlarmHandler):
    REDIS_KEY = 'branch_dedicated_line_monitor'

    @staticmethod
    def _format_receive_alarm(data):
        return BranchDedicatedLineAlarmFormat(data)()
